package org.awa.demo.opencv.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author xxf
 */
@Data
public class TrafficAddRequest {

    @NotEmpty(message = "请提供时间信息")
    private String date;

    @NotNull(message = "请提供道路信息")
    private String road;

    private TrafficInfoRequest bigCar;

    private TrafficInfoRequest middleCar;

    private TrafficInfoRequest smallCar;

}
